Skip to content

[python v3.13] TestTestgresCommon::test_logging uses logging._lock#276

Merged
dmitry-lipetsk merged 1 commit intopostgrespro:masterfrom
dmitry-lipetsk:D20250627_001--fix_for_test_logging
Jun 27, 2025
Merged

[python v3.13] TestTestgresCommon::test_logging uses logging._lock#276
dmitry-lipetsk merged 1 commit intopostgrespro:masterfrom
dmitry-lipetsk:D20250627_001--fix_for_test_logging

Conversation

@dmitry-lipetsk
Copy link
Collaborator

Python 3.13 deleted the following internal functions:

  • logging._acquireLock()
  • logging._releaseLock()

See python/cpython@74723e1 (Sep 27, 2023)

logging._lock was not touched.

So, we use "with logging._lock" instead this pair of deleted function.

Patch was tested with python v3.8.0

Python 3.13 deleted the following internale functions:
 - logging._acquireLock()
 - logging._releaseLock()

See python/cpython@74723e1 (Sep 27, 2023)

logging._lock was not touched.

So, we use "with logging._lock" instead this pair of deleted function.

Patch was tested with python v3.8.0
@dmitry-lipetsk dmitry-lipetsk merged commit 69f8d49 into postgrespro:master Jun 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant